package com.campus.dao;

import com.campus.model.Activity;

import java.util.List;

public interface ActivityDao {
    Integer addActivity(Activity activity);

    Integer editActivity(Activity newactivity);

    Integer publishActivity(int activityId);

    List<Activity> queryActivityByStatus(int status);

    List<Activity> queryActivityByName(String name);
}
